<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <script src="../vue.js"></script>
  </head>

  <body>
    <div id="app">
      <header v-pre>
        <h1>我是标题{{message}}</h1>
      </header>
      <p><input type="text" v-model="message" />内容是{{message}}</p>
      <footer v-pre>
        <h3>我是底部</h3>
      </footer>
    </div>
    <script>
      Vue.config.productionTip = false;

      const vm = new Vue({
        el: "#app",
        data() {
          return {
            message: "123",
          };
        },
      });
    </script>
  </body>
</html>
